import React, {memo} from 'react';

const Comchildren1 = (props) => {
  console.log('render');
  return (
    <>
      <p>函数组件父传子：{props.name}</p>
    </>
  );
}

let Comchildren = memo(Comchildren1);
export default Comchildren
